<%--
  Created by IntelliJ IDEA.
  User: Administrator
  Date: 2021/3/8 0008
  Time: 0:15
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<%@ taglib prefix="c" uri="http://java.sun.com/jstl/core_rt" %>
<html>
<head>
    <title>Title</title>
</head>
<body>
<div id="div3">
    <table style="width: 600px;border: 4px white solid;height: 300px;text-align: center;position: absolute;top: 14px;left: 50px" border="2px">
        <tr><td>id</td><td>技术名称</td><td>技术进度</td><td>操作</td></tr>
        <c:forEach items="${jnzcs}" var="i"><tr>
            <form action="jnzcupdate">
                <td><input value="${i.id}" name="id"></td><td><input value="${i.name}" name="name"></td><td><input value="${i.myd}" name="myd"></td>
                <td><button>修改</button><input type="button"  onclick="jnzcdelete(${i.id})" value="删除"></td>
            </form></tr>
        </c:forEach>
        <tr style="display: none" id="tr1">
            <form action="jnzcadd">
                <td><input name="issd"></td><td><input name="name"></td><td><input name="myd"></td><td><button>添加</button></td>
            </form></tr>
    </table>
    <button onclick="hides()">添加</button>
</div>
<button onclick="hidese()">返回</button>
</body>
<script src="js/9a55fbc425ecb1a80734bbd096f3cd59.js"></script>
<script>
    function hides() {$("#tr1").show()}
    function jnzcdelete(id) {location.href="jnzcdelete?id="+id;}
    function hidese() {location.href="houtai.jsp";}
</script>
</html>
